<?php
/**
 * Created by PhpStorm.
 * User: user1
 * Date: 2018/6/1
 * Time: 8:50
 */

namespace app\common\validate;


class LoginValidate extends BaseValidate
{
    protected $rule = [
        'username'  =>  'require',
        'password' =>  'require',
        'captcha' => 'require'
    ];

    protected $message = [
        'username.require' => '请输入用户名',
        'password.require' => '请输入密码',
        'captcha.require' => '验证码不能为空',
    ];
}